#!/bin/bash
sleep 5
php /Swoft/bin/swoft agent:index  > /var/log/agent.log 2>&1 &
sleep 5
php /Swoft/bin/swoft http:start  > /var/log/http.log 2>&1 &
while [[ true ]]; do
    sleep 1
done
